package com.lagou.pojo;

import java.io.Serializable;

public class Result implements Serializable {

    private Integer code;

    private Token token;

    public Result(Integer code) {
        this.code = code;
    }

    public Result(Integer code, Token token) {
        this.code = code;
        this.token = token;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Token getToken() {
        return token;
    }

    public void setToken(Token token) {
        this.token = token;
    }
}
